package com.bwie.controller;

import com.bwie.pojo.R;
import com.bwie.service.ChangeService;
import io.swagger.models.auth.In;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/change")
@CrossOrigin
public class ChangeController {
    @Autowired
    private ChangeService changeService;
    /**
     * 患者列表
     */
    @GetMapping("/getChangeList/{interrogationId}")
    private R getChangeList(@PathVariable Integer interrogationId){
        return changeService.getChangeList(interrogationId);
    }
}
